home *** CD-ROM | disk | FTP | other *** search
- #import <appkit/appkit.h>
- #import "GrayCell.h"
-
- @implementation GrayCell
-
-
- - setDrawGray:(BOOL)dg
- {
- drawGray=dg;
- return self;
- }
-
- - setTextAttributes:textObj
- {
- [super setTextAttributes:textObj];
- if (drawGray==TRUE)
- [textObj setTextGray:NX_DKGRAY];
- else
- [textObj setTextGray:NX_BLACK];
- return textObj;
- }
-
- @end
-
-